package com.hebeu.device.pojo;

public class DPart {
    private Integer id;

    private String partName;

    private String partType;

    private Double price;

    private Integer number;

    private Integer alertNumber;

    private Integer isEffectice;

    private Integer partStatus;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName == null ? null : partName.trim();
    }

    public String getPartType() {
        return partType;
    }

    public void setPartType(String partType) {
        this.partType = partType == null ? null : partType.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getAlertNumber() {
        return alertNumber;
    }

    public void setAlertNumber(Integer alertNumber) {
        this.alertNumber = alertNumber;
    }

    public Integer getIsEffectice() {
        return isEffectice;
    }

    public void setIsEffectice(Integer isEffectice) {
        this.isEffectice = isEffectice;
    }

    public Integer getPartStatus() {
        return partStatus;
    }

    public void setPartStatus(Integer partStatus) {
        this.partStatus = partStatus;
    }

    @Override
    public String toString() {
        return "DPart{" +
                "id=" + id +
                ", partName='" + partName + '\'' +
                ", partType='" + partType + '\'' +
                ", price=" + price +
                ", number=" + number +
                ", alertNumber=" + alertNumber +
                ", isEffectice=" + isEffectice +
                ", partStatus=" + partStatus +
                '}';
    }
}